package uml.behavioral.command;

/**
 * 命令--具体命令<br>
 * on 2023/1/2 20:33
 */
public class ExitCommand implements Command{
    private Exit exit;

    public ExitCommand() {
        exit=new Exit();
    }

    @Override
    public void execute() {
        this.exit.exit();
    }
}
